import Ember from 'ember';

export default Ember.Route.extend({
  model(params) {
    console.log("from learning.index route.");
    console.log(params);
    return {id: 55};
  },
  serialize(model, placeholderNames) {
    console.log('from learning.index serialize.');
    console.log(arguments.length);
    console.log(model);
    console.log(placeholderNames);
    return {id1: model.id1.id, id2: model.id2.id};
  }
});
